package com.lsl.crm.daoImpl;

import java.util.HashMap;

import com.lsl.crm.dao.LogonDao;
import com.lsl.crm.test.BaseSqlDao;

public class LogonDaoImpl extends BaseSqlDao implements LogonDao{
	public String login(String name,String password){
		String result="";
		HashMap<String, String> hs = new HashMap<String, String>();
		hs.put("name", name);
		hs.put("password", password);
		result=(String)getSqlMapClientTemplate().queryForObject("logonSystem",hs);
		return result;
	}
}
